﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="buyer_customerEdit.aspx.cs"
    Inherits="PeisongWeb.buyer_customerEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>采购配送系统-用户管理</title>
    <!--#include file="../global.inc" -->
</head>
<body>
    <form id="form1" runat="server">
    <div id="container">
        <uc1:headerV2 runat="server" ID="header1" />
        <div id="homemain">
            <div id="main">
                <div class="title">
                    <div class="title_text">
                        <ul>
                            <li class="color1">用户信息</li>
                        </ul>
                    </div>
                </div>
                <div class="line_top">
                </div>
                <div id="mainmiddle">
                    <div class="left">
                        <div class="login" id="div_reg_2">
                            <div class="login_title">
                                <span>用户信息编辑</span>
                            </div>
                            <div class="login_main">
                                <ul>
                                    <li>
                                        <label>
                                            <span class="red">*</span>用户名：
                                        </label>
                                        <asp:TextBox runat="server" ID="txt_Username" MaxLength="50"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txt_Username"
                                            ErrorMessage="请输入用户名" Display="Dynamic"></asp:RequiredFieldValidator>
                                        <input type="hidden" runat="server" id="hid_Pwd" />
                                        <span style="color: Red" id="sp_username"></span></li>
                                    <li id="li_pwd" runat="server">
                                        <label>
                                            <span class="red">*</span>密码：
                                        </label>
                                        <asp:TextBox ID="txt_Pwd" Width="150px" TextMode="Password" runat="server" MaxLength="50"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txt_Pwd"
                                            ErrorMessage="请输入密码" Display="Dynamic"></asp:RequiredFieldValidator>
                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="txt_Pwd"
                                                ErrorMessage="密码应为6-14个字符加数字的形式" ValidationExpression="^(?![a-zA-Z]+$)(?![0-9]+$)[a-zA-Z0-9]{6,14}$"
                                                Display="Dynamic"></asp:RegularExpressionValidator>
                                    </li>
                                    <li id="li_pwd2" runat="server">
                                        <label>
                                            <span class="red">*</span>重复密码：
                                        </label>
                                        <asp:TextBox ID="txt_Pwd2" Width="150px" TextMode="Password" runat="server" MaxLength="50"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txt_Pwd2"
                                            ErrorMessage="请再次输入密码" Display="Dynamic"></asp:RequiredFieldValidator>
                                        <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToCompare="txt_Pwd"
                                            ControlToValidate="txt_Pwd2" ErrorMessage="密码不匹配" Display="Dynamic"></asp:CompareValidator>
                                    </li>
                                    <li>
                                        <label>
                                            <span class="red">*</span>姓 名：
                                        </label>
                                        <asp:TextBox runat="server" ID="txt_Realname" MaxLength="50"></asp:TextBox>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txt_Realname"
                                            ErrorMessage="请输入姓名" Display="Dynamic"></asp:RequiredFieldValidator>
                                    </li>
                                    <li>
                                        <label>
                                            联系电话：
                                        </label>
                                        <asp:TextBox runat="server" ID="txt_Phone" MaxLength="50"></asp:TextBox>
                                    </li>
                                    <li>
                                        <label>
                                            Email：
                                        </label>
                                        <asp:TextBox runat="server" ID="txt_Email" MaxLength="50"></asp:TextBox>
                                        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txt_Email"
                                            Display="Dynamic" ErrorMessage="请输入有效的email地址" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                                    </li>
                                     <li>
                                        <label>
                                            岗位：
                                        </label>
                                        <asp:TextBox runat="server" ID="txt_position" MaxLength="50"></asp:TextBox>
                                    </li>
                                    <!--
                                    <li>
                                        <label>
                                            是否禁用：
                                        </label>
                                        <input runat="server" type="checkbox" id="chx_isRefuse" name="check2" />是</li>-->
                                    <li>
                                        <label>
                                            是否为管理员：
                                        </label>
                                        <input runat="server" type="checkbox" id="chx_isAdmin" name="check1" />
                                        是 </li>
                                </ul>
                                <div style="padding-left: 100px; padding-top: 20px;">
                                    <asp:Button runat="server" ID="lbtn_Save" CssClass="button_red_text button_red" OnClick="lbtn_Save_Click"
                                        Text="保存" />
                                    <input type="button" class="button_red_text button_red" value="返回" onclick="javascript:window.location.href='buyer_customerList.html'" />
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="right">
                        <div class="right_login">
                            <ul>
                                <li style="color: #255966">如何修改用户信息？</li>
                                <li>&nbsp;</li>
                                <li>输入用户的信息，</li>
                                <li>带<span style="color: Red">*</span>号的为必填项</li>
                                <li>保存后修改完成。</li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <uc1:footerV2 runat="server" ID="footer1" />
    </div>
    <input type="hidden" runat="server" id="hid_complanyid" />
    <input type="hidden" runat="server" id="hid_expireDt" />
    <input type="hidden" runat="server" id="hid_isAdmin" />
    </form>
</body>
</html>
